/*
 * @Author: ljb
 * @Description: 
 * @Date: 2021-11-09 10:19:15
 * @LastEditTime: 2021-11-09 10:19:16
 * @FilePath: \mvvm\src\main.js
 */
import { Vue } from '../lib'

const app = new Vue({
    el: '#root',
    data() {
        return {
            word: 'hello world'
        }
    },
    methods: {
        handleBtnClick() {
            console.log(this)
            this.word = 'hello world'
        }
    }
})

console.log(app.$data['word'])